package com.sxkf.template.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sxkf.template.entity.Store;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface StoreMapper extends BaseMapper<Store> {

    IPage<Store> findNearbyStores(IPage<Store> page,
                                  @Param("ew") LambdaQueryWrapper<Store> queryWrapper,
                                  @Param("latitude") Double latitude,
                                  @Param("longitude") Double longitude);
}